<?php
class RemindplanModel extends Orm_Base{
    public $table = 'remind_plan';

    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'r_id' => array('type' => "int(11) unsigned",'comment' => '关联提醒事件ID'),
        'sid' => array('type' => "int(11) unsigned",'comment' => '关联老人ID'),
        'sw_id' => array('type' => "int(11) unsigned",'comment' => '关联护工ID'),
        'event_type' => array('type' => "tinyint(1)",'comment' => '事件类型'),
        'respond_date' => array('type' => "int(11)",'comment' => '提醒日期'),
        'respondtime' => array('type' => "int(11)",'comment' => '提醒时间'),
        'status' => array('type' => "tinynt(1)",'comment' => '响应状态(1.是、2.否)'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );

    public $pk = 'id';
}
?>
